package com.yubest.springbootsecurity.service;

public interface PermissionService {

    boolean hasRole(Long roleId);

    boolean hasPermission(String permissionCode);

}
